package com.zzl.bonds.ticket.dto.feign;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author gull
 * @ classname ApproveProcessDto
 * @ description 审批流程节点
 * @date 2021/12/9 下午5:01
 */
@Data
@ApidocModel
public class ApproveProcessDto {
    @ApidocModelProperty(description = "节点类型名称：申请，一次审批，或签 ，处理结果 ")
    private String nodeTypeName;
    @ApidocModelProperty(description = "申请人")
    private String applicant;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "申请时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date applicantTime;

    @ApidocModelProperty(description = "审核人id")
    private Integer reviewerId;
    @ApidocModelProperty(description = "审核人")
    private String reviewer;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "审核时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date reviewerTime;
    @ApidocModelProperty(description = "审核评论")
    private String reviewerComments;

    @ApidocModelProperty(description = "或签审批列表清单")
    private List<ApproveProcessDto> approveList;


    @ApidocModelProperty(description = "您在这里，1 在这 ")
    private Integer here;
    @ApidocModelProperty(description = "审批状态 1 审批中， 2 审核未通过 3 审核通过")
    private Integer approveStatus;
    @ApidocModelProperty(description = "签收状态，1：待签收 2：已收票 3：已驳回 4：已撤回")
    private String signStatusName;
    @ApidocModelProperty(description = "签收方")
    private String signer;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "签收时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date signerTime;
}
